package com.ruoyi.credit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评价结果对象 eva_task_result
 *
 * @author zhulei
 * @date 2022-03-10
 */
public class EvaTaskResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价结果id */
    private Long taskResuletId;

    /** 任务id */
    private Long taskId;

    /** 合约方id（供应商/客户） */
    private Long targetId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 合约方类型（1供应商 2客户） */
    @Excel(name = "合约方类型", readConverterExp = "1=供应商,2=客户")
    private String targetClass;

    /** 合约方名称（供应商/客户） */
    @Excel(name = "合约方名称", readConverterExp = "供=应商/客户")
    private String targetName;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 评分 */
    @Excel(name = "评分")
    private String score;

    /** 评级 */
    @Excel(name = "评级")
    private String rating;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String filePath;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String contractName;

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public void setTaskResuletId(Long taskResuletId)
    {
        this.taskResuletId = taskResuletId;
    }

    public Long getTaskResuletId()
    {
        return taskResuletId;
    }
    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId()
    {
        return taskId;
    }
    public void setTargetId(Long targetId)
    {
        this.targetId = targetId;
    }

    public Long getTargetId()
    {
        return targetId;
    }
    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }

    public String getTaskName()
    {
        return taskName;
    }
    public void setTargetClass(String targetClass)
    {
        this.targetClass = targetClass;
    }

    public String getTargetClass()
    {
        return targetClass;
    }
    public void setTargetName(String targetName)
    {
        this.targetName = targetName;
    }

    public String getTargetName()
    {
        return targetName;
    }
    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }
    public void setScore(String score)
    {
        this.score = score;
    }

    public String getScore()
    {
        return score;
    }
    public void setRating(String rating)
    {
        this.rating = rating;
    }

    public String getRating()
    {
        return rating;
    }
    public void setFilePath(String filePath)
    {
        this.filePath = filePath;
    }

    public String getFilePath()
    {
        return filePath;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskResuletId", getTaskResuletId())
            .append("taskId", getTaskId())
            .append("targetId", getTargetId())
            .append("taskName", getTaskName())
            .append("targetClass", getTargetClass())
            .append("targetName", getTargetName())
            .append("year", getYear())
            .append("score", getScore())
            .append("rating", getRating())
            .append("filePath", getFilePath())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
